#pragma once

#include <QDialog>
#include <QLineEdit>
#include <QPushButton>

class RecordTimeDormDialog : public QDialog
{
    Q_OBJECT

public:
    RecordTimeDormDialog(QWidget* parent = nullptr);
    ~RecordTimeDormDialog() {}

private slots:
    void save_data();

private:
    QLineEdit* semesterEdit;
    QLineEdit* dormitoryCountEdit;
    QLineEdit* checkinPeriodEdit;
    QLineEdit* dormitoryNumberEdit;
    QLineEdit* dormitoryIdEdit;
    QLineEdit* bedIdEdit;
    QLineEdit* bedCountEdit;
    QLineEdit* remainingBedCountEdit;
    QPushButton* saveButton;
    QPushButton* cancelButton;
};